package com.example.basic;

public class LambdaTest{
    private String name;

    public LambdaTest(String name) {
        this.name = name;
    }

    public LambdaTest() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public static void main(String[] args) {
        new Thread(()->{
            System.out.println(Thread.currentThread().getName());
        }).start();
    }
}

